<script type="text/javascript" language="javascript">

	function checkAnswer(url) {
		var useranswer;
		try {
			useranswer = eval('document.' + getFormName() + '.useranswer').value;
		}
		catch(e) {
	    	var remainder = eval('document.' + getFormName() + '.remainder').value;
	    	remainder = isBlank(remainder) ? '0' : remainder;
	    	var quotient = eval('document.' + getFormName() + '.quotient').value;
	    	quotient = isBlank(quotient) ? '0' : quotient;
	    	useranswer = quotient + '|' + remainder;
		}
	    var processedurl = '/lwf' + url + '&useranswer=' + useranswer;
	    retrieveURL(processedurl, 'answercheckblock');
	} 

   function processEnter(e, url) {
       if(e && e.keyCode == 13) {
    	   checkAnswer(url);
       }
    }

</script>